﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;

namespace GraphViewer.Configuration
{
    public class ControlMConfigurationElement : BaseConfigurationElement
    {
        [ConfigurationProperty("tableName", IsRequired = true)]
        public string TableName
        {
            get
            {
                return (String)this["tableName"];
            }
            set
            {
                this["tableName"] = value;
            }
        }

        [ConfigurationProperty("nodeId", IsRequired = true)]
        public string NodeId
        {
            get
            {
                return (String)this["nodeId"];
            }
            set
            {
                this["nodeId"] = value;
            }
        }

        [ConfigurationProperty("application", IsRequired = true)]
        public string Application
        {
            get
            {
                return (String)this["application"];
            }
            set
            {
                this["application"] = value;
            }
        }

        [ConfigurationProperty("jobNameSuffix", IsRequired = true)]
        public string JobNameSuffix
        {
            get
            {
                return (String)this["jobNameSuffix"];
            }
            set
            {
                this["jobNameSuffix"] = value;
            }
        }

        [ConfigurationProperty("type", IsRequired = true)]
        public string Type
        {
            get
            {
                return (String)this["type"];
            }
            set
            {
                this["type"] = value;
            }
        }

        [ConfigurationProperty("systemId", IsRequired = true)]
        public string SystemId
        {
            get
            {
                return (String)this["systemId"];
            }
            set
            {
                this["systemId"] = value;
            }
        }
    }
}
